package com.youlai.boot.factory.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 工序模板明细视图对象
 *
 * @author youlaitech
 * @since 2025-10-01 05:19
 */
@Getter
@Setter
@Schema( description = "工序模板明细视图对象")
public class ProcessTemplateDetailVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "明细ID，主键")
    private Long id;
    @Schema(description = "模板ID")
    private Long templateId;
    @Schema(description = "工序ID")
    private Long processId;
    @Schema(description = "工序名称")
    private String processName;
    @Schema(description = "工序顺序")
    private Integer sequenceOrder;
    @Schema(description = "标准工时（分钟，可覆盖工序表的标准工时）")
    private BigDecimal standardTime;
    @Schema(description = "工序单价（元，可覆盖工序表的单价）")
    private BigDecimal unitPrice;
    @Schema(description = "所需技能（可覆盖工序表的技能要求）")
    private String requiredSkill;
    @Schema(description = "设备要求（可覆盖工序表的设备要求）")
    private String equipmentRequirements;
    @Schema(description = "质量注意事项")
    private String qualityNotes;
    @Schema(description = "是否关键工序：0-否，1-是")
    private Integer isCritical;
    @Schema(description = "前道工序ID（用于建立依赖关系）")
    private Long previousProcessId;
    @Schema(description = "创建人")
    private String createBy;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "更新人")
    private String updateBy;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
